import Enum from '@/vng/enum'
import LinkConnectTypes from '../const/tunnel-connect-types'
import LinkUsingTypes from '../const/tunnel-using-types'
import LinkAmendPriority from '../const/tunnel-amend-priority'
// import LinkAirTypes from '../const/tunnel-air-types'
import SecTionTypes from '../const/section-types'
import SupportTypes from '../const/support-types'

// 巷道属性数据
const props = [
  {
    key: 'Name',
    title: '巷道名称',
    type: Enum.Field.STRING
  },
  {
    key: 'LinkConnectTypes',
    title: '连接类型',
    type: Enum.Field.INT,
    args: {
      useList: true,
      options: LinkConnectTypes
    }
  },
  {
    key: 'LinkUsingTypes',
    title: '使用类型',
    type: Enum.Field.INT,
    args: {
      useList: true,
      options: LinkUsingTypes
    }
  },
  {
    key: 'SecTionTypes',
    title: '断面类型',
    type: Enum.Field.INT,
    args: {
      useList: true,
      options: SecTionTypes
    }
  },
  {
    key: 'SupportTypes',
    title: '支护类型',
    type: Enum.Field.INT,
    args: {
      useList: true,
      options: SupportTypes
    }
  },
  {
    key: 'SectionWidth',
    title: '断面宽度',
    type: Enum.Field.FLOAT
  },
  {
    key: 'SectionHeight',
    title: '断面高度',
    type: Enum.Field.FLOAT
  },
  {
    key: 'L',
    title: '长度',
    type: Enum.Field.FLOAT
  },
  {
    key: 'Q',
    title: '总风量',
    type: Enum.Field.FLOAT
  },
  {
    key: 'V',
    title: '风速',
    type: Enum.Field.FLOAT
  },
  {
    key: 'H',
    title: '总阻力',
    type: Enum.Field.FLOAT
  },
  {
    key: 'FixQ',
    title: '固定风量',
    type: Enum.Field.FLOAT
  },
  {
    key: 'R100m',
    title: '百米风阻',
    type: Enum.Field.FLOAT
  },
  {
    key: 'RFirc',
    title: '摩擦风阻',
    type: Enum.Field.FLOAT
  },
  {
    key: 'RLocal',
    title: '局部风阻',
    type: Enum.Field.FLOAT
  },
  {
    key: 'RAmend',
    title: '调节风阻',
    type: Enum.Field.FLOAT
  },
  {
    key: 'TestQ',
    title: '测试风量',
    type: Enum.Field.FLOAT
  },

  {
    key: 'Coff',
    title: '摩擦阻力系数',
    type: Enum.Field.FLOAT
  },
  {
    key: 'BarrierArea',
    title: '构筑物面积',
    type: Enum.Field.FLOAT
  },
  {
    key: 'AvgDenstity',
    title: '平均密度',
    type: Enum.Field.FLOAT
  },
  {
    key: 'UpperLimitV',
    title: '风速上限',
    type: Enum.Field.FLOAT
  },
  {
    key: 'LowerLimitV',
    title: '风速下限',
    type: Enum.Field.FLOAT
  },
  {
    key: 'LinkAmendPriority',
    title: '可调节性',
    type: Enum.Field.INT,
    args: {
      useList: true,
      options: LinkAmendPriority
    }
  },
  {
    key: 'Remark',
    title: '备注',
    type: Enum.Field.STRING,
    args: {
      multiline: true
    }
  }

  // {
  //   key: 'WindDir',
  //   title: '风流方向',
  //   type: Enum.Field.BOOLEAN,
  //   args: {
  //     default: true
  //   }
  // }
]

export default { props, factory: null }
